<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--<#&#45;&#45;tr>td{id}*2&ndash;&gt;-->
thymeleaf
<table>
    <tr>
        <td>name</td>
        <td>address</td>
    </tr>

<!--    <#&#45;&#45;遍历userlist  作为user使用&ndash;&gt;-->

    <tr th:each="user:${userList}">
        <td th:text="${user.name}"></td>
        <td th:text="${user.address}"></td>
    </tr>

</table>
</body>
</html>